﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NLBS.WebControls.UI
{
    [AttributeUsage(AttributeTargets.Method)]
    public class CallBackMethodAttribute : System.Attribute
    {
        public CallBackMethodAttribute(string callName)
        {
            _callName = callName;
         
        }
        public CallBackMethodAttribute(string callName, string[] Params)
        {
            _callName = callName;
            //_callBack = CallBack;
            //_callBack.GetCallbackParameters();
        }

        private string _callName;

        public string CallName
        {
            get { return _callName; }
        }

        private CallBack _callBack;

        public CallBack CallBack
        {
            get { return _callBack; }
        }
    }
}
